package com.tao.com.xiaowen.config;

import android.content.Context;

import com.tao.com.xiaowen.config.http.OkHttpHelper;

/**
 * Created by tao on 17-2-27.
 */

public class DataUntils {
    private Context context;

    public DataUntils(Context context) {
        this.context = context;
    }

    public static void getJokeData(String url) {
        OkHttpHelper.getInstance().getExecute(url);
    }
    public static void getNewsData(String url) {
        OkHttpHelper.getInstance().getNewsExecute(url);
    }
    public static void getPicData(String url) {
        OkHttpHelper.getInstance().getPicExecute(url);
    }

}
